package com.wykj.business.dao;

import com.wykj.business.model.Tuser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2017/4/29.
 */
@Repository
public interface TuserDao extends JpaRepository<Tuser,Long>, JpaSpecificationExecutor<Tuser> {

    Tuser findByUserName(String userName);

}
